/*
 * 文件名：User.java
 * 版权：Copyright by www.wootide.com
 * 描述：用户对象
 * 修改人：lizl
 * 修改时间：2012-9-12
 * 跟踪单号：
 * 修改单号：
 * 修改内容：
 */
package com.wootide.cms.manager.pojo;

import java.util.Date;

/**
 * 〈一句话功能简述〉用户基本类<br>
 * 〈功能详细描述〉<br>
 *     详细的介绍了用户的个人基本信息属性；<br>
 * @author lizl
 * @version 2012-9-12
 * @see User
 * @since
 */

public class User implements java.io.Serializable
{
    
    /**
     * 意义，目的和功能，以及被用到的地方
     */
    private static final long serialVersionUID = -4166540058138135385L;
    
    /**
     * 用户主键ID，非空
     */
    private Long userId;
    
    /**
     * 用户名，非空
     */
    private String userName;
    
    /**
     * 用户的密码，非空，加密处理等
     */
    private String userPwd;
    
    /**
     * 用户的性别：0代表男，1代表女；非空
     */
    private int userMale;
    
    /**
     * 用户手机号码
     */
    private String userMobile;
    
    /**
     * 用户个人邮箱
     */
    private String userEmail;
    
    /**
     * 用户状态：1代表停用，0启用，2删除，默认启用；非空
     */
    private int userState;
    
    /**
     * 用户创建时间；非空
     */
    private Date userStartDate;
    
    /**
     * 用户结束时间
     */
    private Date userEndDate;
    
    /**
     * 备注说明
     */
    private String userNote;
    
    /**
     * 用户的职位
     */
    private String userJob;
    
    /**
     * 用户个人身份证号码ID
     */
    private String userIdentityCard;
    
    /**
     * 用户最后一次登录时间
     */
    private Date userLastLoginTime;
    
    /**
     * 用户所属机构；外键；非空，单向关联
     */
    //private Organization org;
    
    public Long getUserId()
    {
        return userId;
    }
    
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }
    
    public String getUserName()
    {
        return userName;
    }
    
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    
    public String getUserPwd()
    {
        return userPwd;
    }
    
    public void setUserPwd(String userPwd)
    {
        this.userPwd = userPwd;
    }
    
    public int getUserMale()
    {
        return userMale;
    }
    
    public void setUserMale(int userMale)
    {
        this.userMale = userMale;
    }
    
    public String getUserMobile()
    {
        return userMobile;
    }
    
    public void setUserMobile(String userMobile)
    {
        this.userMobile = userMobile;
    }
    
    public String getUserEmail()
    {
        return userEmail;
    }
    
    public void setUserEmail(String userEmail)
    {
        this.userEmail = userEmail;
    }
    
    public int getUserState()
    {
        return userState;
    }
    
    public void setUserState(int userState)
    {
        this.userState = userState;
    }
    
    public Date getUserStartDate()
    {
        return userStartDate;
    }
    
    public void setUserStartDate(Date userStartDate)
    {
        this.userStartDate = userStartDate;
    }
    
    public Date getUserEndDate()
    {
        return userEndDate;
    }
    
    public void setUserEndDate(Date userEndDate)
    {
        this.userEndDate = userEndDate;
    }
    
    public String getUserNote()
    {
        return userNote;
    }
    
    public void setUserNote(String userNote)
    {
        this.userNote = userNote;
    }
    
    public String getUserJob()
    {
        return userJob;
    }
    
    public void setUserJob(String userJob)
    {
        this.userJob = userJob;
    }
    
    public String getUserIdentityCard()
    {
        return userIdentityCard;
    }
    
    public void setUserIdentityCard(String userIdentityCard)
    {
        this.userIdentityCard = userIdentityCard;
    }
    
    public Date getUserLastLoginTime()
    {
        return userLastLoginTime;
    }
    
    public void setUserLastLoginTime(Date userLastLoginTime)
    {
        this.userLastLoginTime = userLastLoginTime;
    }
    
    /*public Organization getOrg()
    {
        return org;
    }
    
    public void setOrg(Organization org)
    {
        this.org = org;
    }*/
 
}
